package menu;

import java.util.ArrayList;
import java.util.List;

/**
 * description:
 * 迭代器模式客户端
 * @author Yuanml on 2020/10/25 11:10
 */
public class Client {
    public static void main(String[] args) {
        List<Menu> menus = new ArrayList<>();
        menus.add(new ArrayListMenu());
        menus.add(new ArrayMenu());
        Alice alice = new Alice(menus);
        alice.printMenu();
    }
}
